package additional;
/**
 * Demonstrates toString() implementation
 * @author Vladimir Tsanev
 *
 */
public class Programmer {
	private String name;
	private String language;

	public Programmer(String name, String language) {
		super();
		this.name = name;
		this.language = language;
	}

	public String getLanguage() {
		return language;
	}

	public String getName() {
		return name;
	}

	@Override
	public String toString() {
		return this.name + " is programming in " + this.language;
	}

	public static void main(String[] args) {
		Programmer programmer = new Programmer("Vladimri Tsnev", "Java");
		System.out.println(programmer);
	}

}
